import requests
import app
class Login:
    def __init__(self):
        self.login_url=app.base_url+'/api/sys/login'
    def login_(self,login_data):
        return requests.post(self.login_url,json=login_data)
if __name__ == '__main__':
    aa=Login()
    print(aa.login_({"mobile": "13800000002", "password": "123456"}).json())